﻿@using Single_SignOn.Models
@using Single_SignOn.ResX
<!DOCTYPE html>
<html>
    <head>
    
    <meta name="viewport" content="width=device-width" />
        @*Include Css Files here*@
          @{
              if (ViewBag.CompanyName == null)
        {
            <link href="@Url.Content("~/Css/www.css")"  rel="stylesheet" type="text/css" />
        }
        else
        {
            <link href="@Url.Content("~/Css/www-" + (String)(ViewBag.CompanyName) + ".css")"  rel="stylesheet" type="text/css" />
        }
    }
    <script src="~/Scripts/json2.js"></script>
    @*Include Javascript Libraly here*@
    <script src="~/Scripts/Js/main.js"></script>
    <script src="~/Scripts/jquery-1.9.1.js"></script>
    <script src="~/Scripts/jquery-ui-1.10.3.custom.min.js"></script>
    <script src="~/Scripts/jquery.mtz.monthpicker.js"></script>

    <script src="~/Scripts/jquery-1.8.2.min.js"></script>
    <script src="~/Scripts/jquery.validate.min.js"></script>
    <script src="~/Scripts/jquery.validate.unobtrusive.min.js"></script>
</head>
<body>
    <div style="width: 100%; height: 100%;">
        <div style="width: 100%;">
            <div class="outer_header">
                <table style="width: 100%;">
                    <tr>
                        <td id="left_header">
                            <div class="box_header">
                                <img style="margin: 0;" id="logoCompany" name="logoCompany" src="@Single_SignOn.Areas.Web.Controllers.FilesController.GetImageBase64(((Byte[])(ViewBag.ByteImages)))" />
                            </div>
                        </td>
                        <td id="center_header">
                            <div class="box_header" >
                                <h1>
                                    <label>@ResourceTools.GetResource("Resource", "ApplicationList")</label></h1>
                            </div>
                        </td>
                        <td id="right_header" >
                            <div class="box_header" >
                                @Html.Partial("_Profile", (UserProfile)Session["UserInfo"])
                            </div>
                        </td>
                    </tr>
                </table>



            </div>
        </div>
        <div class="logout">
            @Html.Partial("_LogOut", (UserProfile)Session["UserInfo"])
        </div>
        <div style="width: 100%;">
            <table style="width: 100%; margin-top: 0;">
                <tr>
                    <td style="width: 100%; text-align: center; vertical-align: middle;">
                        @RenderBody()
                    </td>
                </tr>
            </table>
        </div>
    </div>
</body>
</html>
